package com.aaa.entity;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * Table: sms_group_promotion
 */
@Data
public class SmsGroupPromotion implements Serializable {
    /**
     * Table:     sms_group_promotion
     * Column:    id
     * Nullable:  false
     */
    private Long id;

    /**
     * Table:     sms_group_promotion
     * Column:    shop_id
     * Nullable:  true
     */
    private Long shopId;

    /**
     * Table:     sms_group_promotion
     * Column:    title
     * Nullable:  false
     */
    private String title;

    /**
     * 团购活动的图片
     *
     * Table:     sms_group_promotion
     * Column:    images
     * Nullable:  false
     */
    private String images;

    /**
     * 开始日期
     *
     * Table:     sms_group_promotion
     * Column:    start_date
     * Nullable:  true
     */
    private Date startDate;

    /**
     * 结束日期
     *
     * Table:     sms_group_promotion
     * Column:    end_date
     * Nullable:  true
     */
    private Date endDate;

    /**
     * 上下线状态
     *
     * Table:     sms_group_promotion
     * Column:    status
     * Nullable:  true
     */
    private Integer status;

    /**
     * 创建时间
     *
     * Table:     sms_group_promotion
     * Column:    create_time
     * Nullable:  true
     */
    private Date createTime;

    /**
     * 备注
     *
     * Table:     sms_group_promotion
     * Column:    remark
     * Nullable:  true
     */
    private String remark;

    /**
     * n人团
     *
     * Table:     sms_group_promotion
     * Column:    type
     * Nullable:  true
     */
    private Byte type;

    /**
     * 未成团，自动延期n天
     *
     * Table:     sms_group_promotion
     * Column:    auto_delay
     * Nullable:  true
     */
    private Integer autoDelay;

    /**
     * 团购价格
     *
     * Table:     sms_group_promotion
     * Column:    price
     * Nullable:  true
     */
    private Long price;

    /**
     * 原价
     *
     * Table:     sms_group_promotion
     * Column:    original_price
     * Nullable:  true
     */
    private Long originalPrice;

    /**
     * 1是自动成团，拼团时间到，不管人数是否到，自动开团
     *
     * Table:     sms_group_promotion
     * Column:    auto_open
     * Nullable:  true
     */
    private Byte autoOpen;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table sms_group_promotion
     *
     * @mbg.generated Mon Jan 06 19:35:03 CST 2020
     */
    private static final long serialVersionUID = 1L;
}